package com.ytjj.qmyx.data.model.mongo;

import lombok.Data;
import org.springframework.data.mongodb.core.mapping.Document;

/**
 *
 *  *
 **/
@Document(collection="page_day_statistics")
@Data
public class PageDayStatistics {

    private String _id;

    private String dayTime;

    private String page;

    private String pathCode;

    private String platform;

    private String channel;

    private Integer pv;

    private Integer uv;

    public PageDayStatistics() {
    }

    public PageDayStatistics(String dayTime, String page, String pathCode, String platform, String channel) {
        this.dayTime = dayTime;
        this.page = page;
        this.pathCode = pathCode;
        this.platform = platform;
        this.channel = channel;
        this.pv = 1;
        this.uv = 1;
    }
}
